<ice:panelGroup xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ice="http://www.icesoft.com/icefaces/component"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:c="http://java.sun.com/jsp/jstl/core">
    
    <ice:panelGroup style="float: left; width: 150px">
        <ul>
            <li>
            <ice:commandLink value="Créer"
                             action="#{questionnaireController.nouveau}">
                <f:setPropertyActionListener target="#{questionnaireController.page}"
                                             value="questionnaire" />
                <f:setPropertyActionListener target="#{questionnaireController.questionnaire}"
                                             value="#{null}" />
            </ice:commandLink>
            </li>
        </ul>
        <h2>Questionnaires :</h2>
        <c:forEach items="#{questionnaireController.listeEtat}" var="item">
            <ul>
                <li>
                <ice:commandLink value="#{item.libelle}"
                                 immediate="true"
                                 action="#{questionnaireController.refresh}">
                    <f:setPropertyActionListener target="#{questionnaireController.page}"
                                                 value="listeQuestionnaires" />
                    <f:setPropertyActionListener target="#{questionnaireController.filtreEtatCourant}"
                                                 value="#{item}" />
                </ice:commandLink>
                </li>
            </ul>
        </c:forEach>
    </ice:panelGroup>
    <ice:panelGroup style="float: left; width: 600px">
    <ice:messages errorClass="error" infoClass="info"/>
    <ui:include src="/WEB-INF/includes/pages/admin/listeQuestionnaires.xhtml"/>
    <ui:include src="/WEB-INF/includes/pages/admin/questionnaire.xhtml"/>
    <ui:include src="/WEB-INF/includes/pages/question/question.xhtml"/>
    <ui:include src="/WEB-INF/includes/pages/admin/diffusion.xhtml"/>
    <ui:include src="/WEB-INF/includes/pages/admin/validation.xhtml"/>
    </ice:panelGroup>
</ice:panelGroup>
